package cn.diancan.model.types;
/**
 * 是否需要付款
 * @author Sky 
 */
public final class NeedPayLookType{
    
    /**0不是*/
    public final static int NO=0;
    /**1是*/
    public final static int YES=1;
    
    public final static boolean checkExists(Integer type){
        if(null== type){
    		return false;
        }
        if(type.equals(NO) || type.equals(YES)){
    		return true;
        }
        return false; 
    }
    
}